import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';

class WidgetIcons extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    // TODO: implement build
    return new Scaffold(
      appBar: new AppBar(title: new Text("Icon的使用")),
      body: Column(
        crossAxisAlignment: CrossAxisAlignment.start,
        children: <Widget>[
          Icon(
            Icons.apps,
            size: 40,
            color: Colors.amberAccent,
            textDirection: TextDirection.ltr,
          ),
          Icon(IconData(0xE629, fontFamily: 'iconfont'),
              size: 100)
        ],
      ),
    );
  }
}
